package jgl.vajra.driver.part.home.fragment;

import jgl.vajra.driver.R;
import jgl.vajra.driver.databinding.FragmentMinePageBinding;
import jgl.vajra.driver.manager.IntentManager;
import jgl.vajra.driver.part.home.contract.MinePageContract;
import jgl.vajra.driver.part.home.viewModel.MinePageViewModel;
import jgl.vajra.driver.widget.mvvm.factory.CreateViewModel;
import jgl.vajra.driver.widget.mvvm.view.BaseMVVMFragment;
import jgl.vajra.driver.widget.utils.ToastUtils;

@CreateViewModel(MinePageViewModel.class)
public class MinePageFragment extends BaseMVVMFragment<MinePageViewModel, FragmentMinePageBinding> implements MinePageContract.View {
    @Override
    public int getLayoutId() {
        return R.layout.fragment_mine_page;
    }

    @Override
    public void initView() {
        mBinding.setView(this);

    }

    @Override
    public void initData() {

    }

    @Override
    public void initEvent() {

    }

    //消息
    @Override
    public void onNews() {
        ToastUtils.showShort("消息");
    }

    //设置
    @Override
    public void onSetting() {
        IntentManager.toSettingPageActivity(mActivity);
    }

    //个人信息
    @Override
    public void onPersonalInformation() {
        IntentManager.toPersonalInformationActivity(mActivity);
    }

    //签到
    @Override
    public void onSignIn() {
        ToastUtils.showShort("签到");
    }

    //会员中心
    @Override
    public void onMemberCenter() {
        ToastUtils.showShort("会员中心");
    }

    //躺赚
    @Override
    public void onLieEarn() {
       IntentManager.toLieEarnActivity(mActivity);
    }

    //余额
    @Override
    public void onBalance() {
        ToastUtils.showShort("余额");
    }

    //优惠券
    @Override
    public void onCoupon() {
        ToastUtils.showShort("优惠券");
    }

    //积分
    @Override
    public void onIntegral() {
        ToastUtils.showShort("积分");
    }

    //邀请有奖
    @Override
    public void onInvitePrize() {
        ToastUtils.showShort("邀请有奖");
    }

    //常用干活地
    @Override
    public void onCommonAddress() {
        ToastUtils.showShort("常用干活地");
    }

    //收藏机佬
    @Override
    public void onCollectionDriver() {
        IntentManager.toDriverCollectionActivity(mActivity);
    }

    //发票报销
    @Override
    public void onInvoice() {
        ToastUtils.showShort("发票报销");
    }

    //扫一扫
    @Override
    public void onScan() {
        ToastUtils.showShort("扫一扫");
    }

    //客服中心
    @Override
    public void onCustomerService() {
        ToastUtils.showShort("客服中心");
    }

    //意见反馈
    @Override
    public void onFeedback() {
        ToastUtils.showShort("意见反馈");
    }

    //算算账
    @Override
    public void onCalculateAccounts() {
        IntentManager.toCalculateAccountsActivity(mActivity);
    }

    //企业服务
    @Override
    public void onEnterpriseServices() {
        ToastUtils.showShort("企业服务");
    }

    //优惠加油
    @Override
    public void onOiling() {
        ToastUtils.showShort("优惠加油");
    }

    //秒杀商城
    @Override
    public void onSecKill() {
        ToastUtils.showShort("秒杀商城");
    }
}
